home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / ifupdown.postrm < prev    next >
Encoding:
Text File  |  2010-03-03  |  634 b   |  30 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.   purge)
  7.     # Note: We don't remove /etc/network/interfaces
  8.     rm -f /etc/network/run/ifstate
  9.  
  10.     if [ -L /etc/network/run ] ; then
  11.       rm -f /etc/network/run
  12.     elif [ -d /etc/network/run ] ; then
  13.       rmdir --ignore-fail-on-non-empty /etc/network/run
  14.     fi
  15.     ;;
  16. esac
  17.  
  18. # Automatically added by dh_installinit
  19. if [ "$1" = "purge" ] ; then
  20.     update-rc.d ifupdown remove >/dev/null || exit $?
  21. fi
  22. # End automatically added section
  23. # Automatically added by dh_installinit
  24. if [ "$1" = "purge" ] ; then
  25.     update-rc.d ifupdown-clean remove >/dev/null || exit $?
  26. fi
  27. # End automatically added section
  28.  
  29.  
  30.